#!/usr/bin/env python2.5
# encoding: utf-8

if not globals().has_key("esda"):
    execfile("esda.py")
    sys.exit()

init()

import random, time

startTime = time.time()
scale     = 100
number    = 3000

for i in range(3):
    name = "Stream%d"%i
    
    newStream(name)
    
    # for i in range(10):
    for i in range(0, number * scale, scale):
        streams[name][startTime + i:startTime + i + scale] = random.random()
